//! 钱包地址

#[derive(Debug, Clone)]
pub struct Address {
    address: String,
}

impl Address {
    pub fn new(address: &str) -> Self {
        Self {
            address: address.to_owned(),
        }
    }

    pub fn set_address(&mut self, address: &str) {
        self.address = address.to_string();
    }

    pub fn address(&self) -> &str {
        &self.address
    }
}
